package com.hycreate.platform.modules.service;

import org.hibernate.validator.constraints.Length;

import com.hycreate.platform.common.persistence.DataEntity;

/**
 * 服务网点Entity
 * @author hoader
 * @version 2017-01-10
 */
public class SfService extends DataEntity<SfService> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String content;		// 简介
	private String imgs;		// 图片
	private String lon;		// 经度
	private String lat;		// 纬度
	private String enName;		// 英文名称
	private String enContent;		// 英文简介
	
	public SfService() {
		super();
	}

	public SfService(String id){
		super(id);
	}

	@Length(min=1, max=20, message="名称长度必须介于 1 和 20 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String getImgs() {
		return imgs;
	}

	public void setImgs(String imgs) {
		this.imgs = imgs;
	}
	
	@Length(min=1, max=100, message="经度长度必须介于 1 和 100 之间")
	public String getLon() {
		return lon;
	}

	public void setLon(String lon) {
		this.lon = lon;
	}
	
	@Length(min=1, max=100, message="纬度长度必须介于 1 和 100 之间")
	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getEnName() {
		return enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getEnContent() {
		return enContent;
	}

	public void setEnContent(String enContent) {
		this.enContent = enContent;
	}
	
}